import request from '@/utils/request'




/**
 * 获取数据字典类型
 * @param {Object} data {"chr_name":"类型名称","chr_code":"代号" }
 */
export function BaseDataTypeList(data) {
    return request.post('/basedatatype/list', data)
}
/**
 * 获取数据字典
 * @param {Object} data  {"page_size":"页大小","page_index":"页码","p_type_id":"分类ID","p_type_code":"分类代号","condition":{"chr_name":"模型名称"}
 }
 */
export function BaseDataList(data) {
    return request.post('/basedata/list', data)
}